{tpl head}
<div class="searchbar">
  <form action="?" method="get" name="searchListForm">
    <input type="hidden" name="c" value="device">
    <input type="hidden" name="a" value="{$a}">
    按运维责任人/领用人搜索:
    <input type="text" name="name" value="">

    <button class="btn" type="submit" onclick="changeAction(false)"><span class="sel">筛 选</span></button>
    <!--<button class="btn" onclick="changeAction(true)"><span class="sel">导出Excel</span></button>-->
  </form>
</div>
<script src='js/admin.js' type="text/javascript"></script>
<form name="form1" action="?c=device&a=batch_del" method="post">
<table class="new_table" width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
	<thead>
<tr class="n_bt"><td colspan="11" align="center">工作小助手系统</td></tr>
  <tr>
  <td height="28" align="center"  class="thbt">编号</td>
    <td height="28" align="center"  class="thbt">设备类型</td>
    <td height="28" align="center"  class="thbt">设备名称</td>
    <td height="28" align="center"  class="thbt">品牌</td>
    <td height="28" align="center"  class="thbt">型号</td>
    <td height="28" align="center"  class="thbt">设备状态</td>
    <td height="28" align="center"  class="thbt">产权归属</td>
    <td height="28" align="center"  class="thbt">运维责任人</td>
    <td height="28" align="center"  class="thbt">领用人</td>
    <td height="28" align="center"  class="thbt">IP</td>
    <td height="28" align="center"  class="thbt">操作</td>

  </tr></thead>

  {loop $list $v}
  <tr>
    <td width='4%'  class="hr" align="center" >
    <input name="all[]" value="{$v.id}" type="checkbox"></td>
    <td  class="hr" align="center">{$v.type_name}</td>
    <td  class="hr" align="center"><a href="?c=device&a=view&id={$v.id}">{$v.name}</a></td>
    <td  class="hr" align="center">{$v.brand_name}</td>
    <td  class="hr" align="center">{$v.model}</td>
    <td  class="hr" align="center">{$v.status_name}</td>
    <td  class="hr" align="center">{$v.cq_name}</td>
    <td  class="hr" align="center">{$v.use_user_name}</td>
    <td  class="hr" align="center">{$v.person}</td>
    <td  class="hr" align="center">{$v.ip}</td>
    <td  class="hr" align="center">
      <a href="?c=device&a=view&id={$v.id}" class="mod">修改</a>
      <a href="?c=device&a=del&id={$v.id}" class="del">删除</a>
    </td>
  </tr>
  {/loop}
</table>
<div class="pages">{$pagelist}</div>
<div class="xuanxiang">
  <input class="button" type="button" name="chkall" value="全选" onClick="CheckAll(this.form)">
  <input class="button" type="button" name="chksel" value="反选" onClick="ContraSel(this.form)">
  <input class="button" type="submit" name="batch_del" value="删除" onclick="return confirm('您确定执行该操作吗?');">
</div>
<input type="hidden" name="c" value="device" >
<input type="hidden" name="a" value="batch_pl" >
<input type="hidden" name="page" value="{$page}">
  </form>
{tpl foot}